
SOURCE = ppopp12.tex empirical.tex appendix.tex ppopp12.bib
DIAGRAMS = fig1s.pdf fig2s.pdf data.pdf

default: ppopp12.pdf

ppopp12.pdf: $(SOURCE) #$(DIAGRAMS)
	pdflatex ppopp12
	bibtex ppopp12
	pdflatex ppopp12
	pdflatex ppopp12
	pdflatex ppopp12

clean:
	- rm -f *~
	- rm -f *.aux *.log
	- rm -f *.bbl *.blg
	- rm -f *.lof *.lot *.toc
	- rm ppopp12.pdf
veryclean: clean
	- rm -f *.dvi *.ps *.pdf

%.ps:%.dvi
	dvips -j0 -Ppdf -Pdownload 35 -G0 -t letter $< -o

%.dvi:%.tex
	latex $<

%.pdf:%.ps
	ps2pdf -dEmbedAllFonts=true $< $@
